package lesson6;

public class Demo2 {
    public static void main(String[] args) {
//        byte b1 = 100;
//        Byte b11 = 100;
        //int num = 100;
//        Integer num11 = 100;
//        Integer num22 = 200;
//        System.out.println(num11+num22);
//        System.out.println(num11-num22);
//        System.out.println(num11*num22);
//        System.out.println(num11/num22);
//        System.out.println(num11%num22);
//        System.out.println(num11<<2);
//        System.out.println(num11>>2);
        //Integer integer = new Integer("100");
        Integer integer1 = 100;
        //Integer integer1 = Integer.valueOf(100);
        //int num = integer1;
        int num = integer1.intValue();
        System.out.println(num);
        System.out.println("********************");

//        Integer num1 = 100;
//        int num2 = 200;
//        Integer number  = num1+num2;
//        System.out.println(number);
//        System.out.println(Integer.toBinaryString(100));
        Integer num1 = 100;
        Integer num2 = 200;
        Integer num3 = num1+num2;
        System.out.println(num3);
        //1 3 2
        //2 3 2
        //2 3 2
        //4 3 1
        //5 3 0
        //6 3 0
        //7 3 0
        //8 3 2
        //9 3 2
        //10 3 1
        //11 3 2
        //12 3 2
        //13 2 0
        //14 2 0  ?
        //15 2 0
        //16 2 0
        //16 3 2








    }
}
